package com.chanceit.ssss.common;

import org.gl.GlobalVariable;

public class WebServicUrl {
	public final static String login =GlobalVariable.getInterfaceURLPrefix()+"account_login";
	public final static String account_set =GlobalVariable.getInterfaceURLPrefix()+"account_set";
	
	public final static String reminder =GlobalVariable.getInterfaceURLPrefix()+"reminder";
	/**
	 * 模糊查询客户列表
	 */
//	public final static String user_page =GlobalVariable.getInterfaceURLPrefix()+"user_page";//FIXME /  user_page_mobile
	public final static String user_page =GlobalVariable.getInterfaceURLPrefix()+"user_page_mobile";
	public final static String user_accurate =GlobalVariable.getInterfaceURLPrefix()+"user_accurate";
	public final static String user_view =GlobalVariable.getInterfaceURLPrefix()+"user_view";
	public final static String user_inshopuser =GlobalVariable.getInterfaceURLPrefix()+"user_inshopuser";
	/**
	 * 今天要接待的预约和到店的数量
	 */
	public final static String reserve_today_amount =GlobalVariable.getInterfaceURLPrefix()+"reserve_today_amount";
	/**
	 *今天要接待的预约列表
	 */
	public final static String reserve_today_list  =GlobalVariable.getInterfaceURLPrefix()+"reserve_today_list";
	public final static String car_list =GlobalVariable.getInterfaceURLPrefix()+"car_list";
	public final static String car_list_by_brand =GlobalVariable.getInterfaceURLPrefix()+"car_listAll";
	public final static String user_save =GlobalVariable.getInterfaceURLPrefix()+"user_save";
	/**
	 * update/add maintain car
	 */
	public final static String user_maintain_record_save =GlobalVariable.getInterfaceURLPrefix()+"maintain_record_save";
	/**
	 *the list of  carer complaint 
	 */
	public final static String user_complaint_list =GlobalVariable.getInterfaceURLPrefix()+"complaint_list";
	public final static String user_complaint_reply_list =GlobalVariable.getInterfaceURLPrefix()+"complaint_reply_list";
	/**
	 * the list of carer message 
	 */
	public final static String user_message_list =GlobalVariable.getInterfaceURLPrefix()+"message_list";
	/**
	 * the list of carer reserve 
	 */
	public final static String user_reserve_list =GlobalVariable.getInterfaceURLPrefix()+"reserve_list";
	public final static String user_reserve_reply_list =GlobalVariable.getInterfaceURLPrefix()+"reserve_reply_list";
	
	/**
	 * business
	 */
	public final static String user_business =GlobalVariable.getInterfaceURLPrefix()+"user_business";
	/**
	 * GPS信息
	 */
	public final static String user_showpoint =GlobalVariable.getInterfaceURLPrefix()+"user_showpoint";
	/**
	 * 行车数据
	 */
	public final static String user_recorder =GlobalVariable.getInterfaceURLPrefix()+"user_recorder";
	public final static String message_send =GlobalVariable.getInterfaceURLPrefix()+"message_send";
	
	/**
	 * 参数异常
	 */
	public final static String warn_list =GlobalVariable.getInterfaceURLPrefix()+"warn_list";
	/**
	 * 参数异常历史
	 */
	public final static String warn_detail =GlobalVariable.getInterfaceURLPrefix()+"warn_detail";
	/**
	 * 客户流失
	 */
	public final static String competition_recorder_page =GlobalVariable.getInterfaceURLPrefix()+"competition_recorder_page";
	/**
	 * 得到一个导航仪GPS转百度GPS坐标
	 * http://api.map.baidu.com/ag/coord/convert?from=0&to=4&y=30.457280092592594&x=114.4003587962963
	 * @param x
	 * @param y
	 * @return
	 */
	public static String getURL_GPS_Conversion(String x,String y){
//		  String URL_GPS_Conversion= "http://www.chanceit.cn:82/baidu/convert/y:30.1525/x:114.2323";
//		return "http://www.chanceit.cn:82/baidu/convert/y:"+y+"/x:"+x;
		return "http://api.map.baidu.com/ag/coord/convert?from=0&to=4&y="+y+"&x="+x;
	}
	
	
	
	/**
	 * 统计stat_report
	 * 
	 */
	public final static String stat_report =GlobalVariable.getInterfaceURLPrefix()+"stat_report";
	/**
	 * 碰撞列表
	 * 
	 */
	public final static String hit_list =GlobalVariable.getInterfaceURLPrefix()+"hit_list";
	/**
	 * 用户断电提醒
	 * 
	 */
	public final static String user_dispower =GlobalVariable.getInterfaceURLPrefix()+"user_dispower";
}
